package org.csmzxy.class2333;

public class Example02 {
    public static void main(String[] args) {
        table();
    }
    public static void table() {
        for (int i = 1; i <= 9; i++) {
            for (int j = 1; j <= i; j++) {
                System.out.printf("%d*%d=%-2d", j, i, i * j);
                if (j < i) {
                    System.out.print("    ");
                }
            }
            System.out.println();
        }
    }
}
